package com.ph.shopping.facade.permission.entity;

import com.ph.shopping.common.core.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @项目：phshopping-facade-permission
 * @描述： 用户角色实体
 * @作者： Mr.zheng
 * @创建时间：2017-03-13
 * @Copyright @2017 by Mr.zheng
 */
@Table(name = "ph_permission_user_role")
public class UserRole extends BaseEntity{

    private static final long serialVersionUID = -6782858999602872500L;
    /**
     * 角色id
     */
    @Column(name = "roleID")
    private Long roleID;

    /**
     * 用户id
     */
    @Column(name = "userID")
    private Long userID;

    public Long getRoleID() {
        return roleID;
    }

    public void setRoleID(Long roleID) {
        this.roleID = roleID;
    }

    public Long getUserID() {
        return userID;
    }

    public void setUserID(Long userID) {
        this.userID = userID;
    }

}
